Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renamed apiserver to httpserver #48

Merged
merged 1 commit into from
Feb 14, 2024
Merged

renamed apiserver to httpserver #48

merged 1 commit into from
Feb 14, 2024

Conversation

j4k4
Copy link
Member

@j4k4 j4k4 commented Feb 9, 2024

No description provided.

builder/metadata_application.go Outdated Show resolved Hide resolved
builder/metadata_application.go Outdated Show resolved Hide resolved
builder/metadata_httpserver.go Show resolved Hide resolved
builder/panel_httpserver.go Show resolved Hide resolved
builder/dashboard.go Outdated Show resolved Hide resolved
builder/panel_httpserver.go Outdated Show resolved Hide resolved
builder/panel_httpserver.go Outdated Show resolved Hide resolved
builder/panel_httpserver.go Outdated Show resolved Hide resolved
provider/datasource_application_dashboard_definition.go Outdated Show resolved Hide resolved
@applike-ss applike-ss force-pushed the apiserver-to-httpserver branch 2 times, most recently from 153825e to 269eb8a Compare February 13, 2024 13:34
@@ -215,27 +160,107 @@ func (a *ApplicationDashboardDefinitionDataSource) Read(ctx context.Context, req
response.Diagnostics.Append(diags...)
}

func getEc2AndEcsData(ctx context.Context, response *tfsdk.ReadDataSourceResponse, ecsClusterName string, ecsServiceName string) ([]builder.ElbTargetGroup, string, error) {
func (a *ApplicationDashboardDefinitionDataSource) getResourceNames(ctx context.Context, state *ApplicationDashboardDefinitionData, response *tfsdk.ReadDataSourceResponse) (builder.ResourceNames, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use a pointer as the first return value when we have an error in one of the following return values?

Suggested change
func (a *ApplicationDashboardDefinitionDataSource) getResourceNames(ctx context.Context, state *ApplicationDashboardDefinitionData, response *tfsdk.ReadDataSourceResponse) (builder.ResourceNames, error) {
func (a *ApplicationDashboardDefinitionDataSource) getResourceNames(ctx context.Context, state *ApplicationDashboardDefinitionData, response *tfsdk.ReadDataSourceResponse) (*builder.ResourceNames, error) {

@j4k4 j4k4 merged commit 5e7db41 into main Feb 14, 2024
4 checks passed
@j4k4 j4k4 deleted the apiserver-to-httpserver branch February 14, 2024 08:57
j4k4 added a commit that referenced this pull request Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants